﻿#region

using System.Collections.Generic;

#endregion

namespace CuongHanh.Models.View
{
    public class CategoryView
    {
        public CategoryView()
        {
        }

        public CategoryView(Category model)
        {
            Id = model.Id;
            NameVi = model.NameVi;
            NameEn = model.NameEn;
            SubCategoriesView = new List<SubCategoryView>();
        }

        public int Id { get; set; }

        public string NameVi { get; set; }

        public string NameEn { get; set; }

        public List<SubCategoryView> SubCategoriesView { get; set; }
    }
}
